package com.example.demo.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("inventory")
public class Inventory {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer componentId;
    private Integer storageId;
    private LocalDateTime updateTime;
    private Integer number;
}
